Edit Menu Operations
If the user chooses an Edit command (or its keyboard equivalent) that applies to a color picker, your application can use theDoPickerEdit
function (page 2-45) to request the color picker to perform the operation. In theEditData
structure passed toDoPickerEdit
, your application uses theEditOperations
enumeration to specify the operation to perform.
enum EditOperations { kCut, /* perform the Cut command */ kCopy, /* perform the Copy command */ kPaste, /* perform the Paste command */ kClear, /* perform the Clear command */ kUndo /* perform the Undo command */ }; typedef short EditOperation;